package whf.framework.log;

/**
 * @author wanghaifeng
 *
 */
public class LogFactory {
	/**
	 * @modify wanghaifeng Oct 7, 2006 2:32:03 PM
	 * @param cls
	 * @return
	 */
	public static Log getLog(Class cls){
		return new Log(org.apache.commons.logging.LogFactory.getLog(cls));
	}
	
	/**
	 * @modify wanghaifeng Oct 7, 2006 2:32:06 PM
	 * @param logName
	 * @return
	 */
	public static Log getLog(String logName){
		return new Log(org.apache.commons.logging.LogFactory.getLog(logName));
	}
}
